package org.yzh.web.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class GpsInfo {

    private String clientId;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 维度
     */
    private String latitude;
    private String speed;
    private String direction;

    public GpsInfo(String clientId, String longitude, String latitude) {
        this.clientId = clientId;
        this.longitude = longitude;
        this.latitude = latitude;
    }
}
